package com.nexgo.data.entity;

import com.nexgo.payment.pack.OnCalcMacListener;
import com.nexgo.payment.pack.OnCalcSignListener;

public class SendDataBuilder {
    private OnCalcMacListener listener;
    private OnCalcSignListener signListener;

    public SendDataBuilder setListener(OnCalcMacListener listener) {
        this.listener = listener;
        return this;
    }

    public SendDataBuilder setSignListener(OnCalcSignListener signListener) {
        this.signListener = signListener;
        return this;
    }

    public SendData createSendData() {
        return new SendData(listener, signListener);
    }
}